package ooday07;

public class Test {
    public static void main(String[] args) {
        A a = new A(){
            @Override
            public void show() {
                System.out.println("嘻嘻.....");
            }
        };
        a.show();
    }
}
class A {
    public void show() {
        System.out.println("哈哈...");
    }
}
